/* 公用样式表 */


/* 声明字体图标 注意路径的变换*/

@font-face {
    font-family: 'icomoon';
    src: url('../lib/fonts/icomoon.eot?tomleg');
    src: url('../lib/fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'), url('../lib/fonts/icomoon.ttf?tomleg') format('truetype'), url('../lib/fonts/icomoon.woff?tomleg') format('woff'), url('../lib/fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

body {
    background-color: #fff;
    font-size: 14px;
    color: #333;
    /* 禁止复制 */
    user-select: none;
}


/* 版心 :固定宽度 , 水平居中*/

.container {
    width: 1140px;
    margin: 0 auto;
}


/* 浮动 */

.fl {
    float: left;
}

.fr {
    float: right;
}


/* 清除浮动 */

.cf::after {
    content: '';
    display: block;
    clear: both;
}


/* css组件化内容 */


/* 盒子相关 */

.h40 {
    height: 40px;
}


/* 背景相关 */

.bgcfff {
    background-color: #fff;
}


/* 字体相关 */

.fz14 {
    font-size: 14px;
}

.fz16 {
    font-size: 16px;
}


/* 去除a标签之间的间隙 */


/*
a标签,input标签之间的间隙
产生原因:因为换行
解决方案:1.给a标签加浮动
        2.给父元素加font-size=0
*/

.fz0 {
    font-size: 0;
}

.tacenter {
    text-align: center;
}


/* 图片相关 */


/* 定位相关 */

.posr {
    position: relative;
}

.posa {
    position: absolute;
}


/* 板块一 :顶部导航 */

#topnav {
    background-color: #333333;
    line-height: 40px;
}

#topnav a {
    font-size: 12px;
    color: #b0b0b0;
}

#topnav span {
    width: 2px;
    font-size: 12px;
    padding: 0 10px;
    color: #424242;
}

#topnav .top_header_cart {
    width: 112px;
    margin-left: 15px;
    display: inline-block;
    background-color: #424242;
}

#topnav .top_header_cart img {
    width: 20px;
    height: 20px;
    margin: -5px 6px 0 0;
}

#topnav .top_header_cart span {
    color: #b0b0b0;
    padding: 0;
}


/* 板块二 : 头部:logo+nav+search */

header {
    background-color: #f7f7f7;
}

#header_menu {
    position: relative;
    top: 0;
    left: 50%;
    margin-left: -570px;
    z-index: 999;
    height: 50px;
    background-color: #f4f4f4;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.3);
}

#header_menu>a {
    padding: 11px 28px;
}


/* 头部导航 */

#header_nav>li {
    float: left;
    width: 72px;
    height: 50px;
    text-align: center;
}

#header_nav>li>a {
    line-height: 50px;
    font-size: 14px;
    color: #767676;
}

#header_nav>li:hover {
    background-color: #fff;
}

#header_nav>li:hover a {
    color: #ed1b24;
}

#header_nav>li:hover #sub_header_nav {
    display: block;
}

.header_nav_search {
    cursor: pointer;
}

.header_nav_search span {
    display: block;
    margin: 15px auto;
    width: 20px;
    height: 20px;
    line-height: 20px;
    background: url(../images/header-scrae.png);
}

#sub_header_nav {
    position: absolute;
    top: 50px;
    left: 0;
    width: 1140px;
    height: 310px;
    padding: 22px 0 44px;
    box-sizing: border-box;
    background-color: #fff;
    display: none;
    box-shadow: 0 5px 8px 0 rgb(0 0 0 / 20%);
}

#sub_header_nav li {
    float: left;
    width: 152px;
    height: 244px;
    margin: 0 19px;
    text-align: center;
    font-size: 14px;
}

#sub_header_nav li>a {
    display: block;
    width: 152px;
    height: 164px;
}

#sub_header_nav li>a img {
    width: 152px;
}

#sub_header_nav li h4 {
    font-size: 16px;
    color: #333;
}

#sub_header_nav li p {
    color: #989898;
    line-height: 44px;
}

#sub_header_nav li span {
    color: #ed1c24;
}


/* 模块四 : 尾部  */

#our_service {
    margin: 50px 0 20px;
}

#our_service li {
    float: left;
    width: 148px;
    height: 50px;
    margin: 0 40px;
}

#our_service img {
    float: left;
    width: 24px;
    height: 24px;
    margin: 8px;
}

#our_service li div {
    float: left;
    color: #b2b2b2;
    font-size: 18px;
    font-weight: normal;
}

#our_service li p {
    font-size: 12px;
}

#footer_nav {
    padding: 40px 0 120px;
    border-top: 1px solid #eaeaea;
}

#footer_nav ul {
    float: left;
}

#footer_nav li {
    float: left;
    line-height: 35px;
    margin-right: 72px;
}

#footer_nav li h6 {
    font-size: 14px;
    color: #333;
}

#footer_nav li a {
    display: block;
    color: #767676;
}

#footer_nav li a:hover {
    color: #ff5d59;
}

#footer_nav .service_hotline {
    float: right;
    padding: 0 25px;
    border-left: 1px solid #eaeaea;
    text-align: center;
}

#footer_nav .service_hotline h6 {
    font-size: 14px;
    color: #6f6c71;
}

#footer_nav .service_hotline p {
    font-size: 26px;
    color: #ff5d59;
    margin: 15px 0;
}

#footer_nav .service_hotline a {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ff5d59;
    color: #ff5d59;
    font-size: 12px;
}

#footer_nav .service_hotline a:nth-child(3) ::before {
    font-family: 'icomoon';
    content: '\e925';
}

#footer_nav .service_hotline a:last-child span::before {
    font-family: 'icomoon';
    content: '\e909';
}

.aboutus {
    position: relative;
}

.aboutus img {
    position: absolute;
    top: -24px;
    right: -72px;
    width: 80px;
    height: 80px;
    display: none;
}

.aboutus:hover img {
    display: block;
}


/* 模块五 : 底部导航 */

#bottom_nav {
    background-color: #313131;
    height: 100px;
    color: #666;
    font-size: 12px;
    line-height: 100px;
}

#bottom_nav img {
    margin: 0 50px;
    width: 155px;
    height: 25px;
}

#bottom_nav a {
    color: #666;
}

#bottom_nav a:hover {
    color: #fff;
}


/* 企业资质 */

#qualification {
    padding: 10px 0 100px;
    background-color: #f8f8f8;
    text-align: center;
}


/* 回到顶部 */

#right_linking {
    width: 42px;
    height: 165px;
    position: fixed;
    top: 60%;
    right: 5px;
    z-index: 9999;
}

#right_linking a {
    display: block;
    border: 1px solid #bcbcbc;
    width: 42px;
    height: 42px;
    margin-top: -1px;
    padding: 6px;
    box-sizing: border-box;
    background-color: #fff;
    color: #767676;
    font-size: 20px;
    text-align: center;
}

#right_linking a:hover {
    color: #fff;
    background-color: #ed1c24;
    font-size: 12px;
    transition: background-color .8s;
}

#right_linking #consult::after {
    font-family: 'icomoon';
    content: '\e909';
}

#right_linking #consult:hover::after {
    content: '购买咨询';
}

#right_linking #after_sale::after {
    font-family: 'icomoon';
    content: '\e925';
}

#right_linking #after_sale:hover::after {
    content: '售后服务';
}

#right_linking #cart::after {
    font-family: 'icomoon';
    content: '\e93a';
}

#right_linking #cart:hover::after {
    content: '购物车';
}

#right_linking #returnTop {
    display: none;
}

#right_linking #returnTop::after {
    font-family: 'icomoon';
    content: '\ea3a';
}

#right_linking #returnTop:hover::after {
    content: '回到顶部';
}